import {request} from '@/utils/http/request'

// export function login(data) {
//   return request({
//     url: '/user/login',
//     method: 'post',
//     data
//   })
// }



// 信息保存
// export const saveGrpDetail = (requestBody) => request({url: '/new-contract/grp/saveGrpDetail', method: 'post', data: {requestHeader,requestBody}});

// 获取验证码
export const getVerificationCode = (data) => request({url: '/policy-change/user/getVerificationCode', method: 'post', data });
// 校验验证码
export const verificationCodeCheck = (data) => request({url: '/policy-change/user/verificationCodeCheck', method: 'post', data });
//登录
export const login = (data) => request({url: '/policy-change/user/login', method: 'post', data });
//修改密码
export const modifyPassword = (data) => request({url: '/policy-change/user/modifyPassword', method: 'post', data });
// 菜单查询
export const getMenuInitialization = (data) => request({url: '/policy-change/user/menuInitialization', method: 'post', data})
// 用户轨迹保存
export const saveUserOperationRecords = (data) => request({url: '/policy-change/user/saveUserOperationRecords', method: 'post', data})
